package com.linfeng.business.admin.executor.admin.qry;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.linfeng.business.admin.domain.entity.SysAdminEntity;
import com.linfeng.business.admin.dto.data.admin.SysAdminDTO;
import com.linfeng.business.admin.dto.event.admin.qry.AdminPageQry;
import com.linfeng.business.admin.executor.admin.AdminBaseExe;
import com.linfeng.component.datasource.dynamic.config.DataSourceNames;
import com.linfeng.component.mybatisplus.executor.qry.PageQryExe;
import org.springframework.stereotype.Component;

@Component
public class AdminPageQryExe extends PageQryExe<SysAdminDTO, SysAdminEntity> {


//    @DS(value = DataSourceNames.SLAVE)
//    public IPage<SysAdminDTO> execute(AdminPageQry qry) {
//
//        IPage<SysAdminDTO> page = sysAdminEntity.page(qry);
//
//        return page;
//    }
}
